package com.newasia.server.dal.entitys;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class User implements Serializable {
    private String userName;

    private String token;

    private Long userId;

    private String face;

    private String pass;

    private String trueName;

    private String mobile;

    private String tel;

    private String email;

    private Boolean enable;

    private Date time;

    private Date loginTime;

    private Date lastLoginTime;

    private String loginIp;

    private String lastLoginIp;

    private Integer roleId;

    private String contact;

    private String industry;

    private String company;

    private Integer areaId;

    private String operationPass;

    private Boolean flagVerify;

    private BigDecimal balance;

    private Boolean flagShowdemo;

    private Integer userType;

    private Integer push;

    private String noticeUserType;

    private String projectLicense;

    private Integer isProjectPartners;

    private Integer accountType;

    private Integer isCheck;

    private BigDecimal cash;

    private Integer point;

    private Integer isExitCompany;

    private Date exitCompanyTime;

    private BigDecimal totalMonitorMoney;

    private BigDecimal totalPointMoney;

    private BigDecimal costMonitorMoney;

    private BigDecimal costPointMoney;

    private String costName;

    private BigDecimal restMoney;

    private Integer smslevel;

    private static final long serialVersionUID = 1L;

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getFace() {
        return face;
    }

    public void setFace(String face) {
        this.face = face == null ? null : face.trim();
    }

    public String getPass() {
        return pass;
    }

    public void setPass(String pass) {
        this.pass = pass == null ? null : pass.trim();
    }

    public String getTrueName() {
        return trueName;
    }

    public void setTrueName(String trueName) {
        this.trueName = trueName == null ? null : trueName.trim();
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile == null ? null : mobile.trim();
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel == null ? null : tel.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public Boolean getEnable() {
        return enable;
    }

    public void setEnable(Boolean enable) {
        this.enable = enable;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public Date getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(Date loginTime) {
        this.loginTime = loginTime;
    }

    public Date getLastLoginTime() {
        return lastLoginTime;
    }

    public void setLastLoginTime(Date lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    public String getLoginIp() {
        return loginIp;
    }

    public void setLoginIp(String loginIp) {
        this.loginIp = loginIp == null ? null : loginIp.trim();
    }

    public String getLastLoginIp() {
        return lastLoginIp;
    }

    public void setLastLoginIp(String lastLoginIp) {
        this.lastLoginIp = lastLoginIp == null ? null : lastLoginIp.trim();
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact == null ? null : contact.trim();
    }

    public String getIndustry() {
        return industry;
    }

    public void setIndustry(String industry) {
        this.industry = industry == null ? null : industry.trim();
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company == null ? null : company.trim();
    }

    public Integer getAreaId() {
        return areaId;
    }

    public void setAreaId(Integer areaId) {
        this.areaId = areaId;
    }

    public String getOperationPass() {
        return operationPass;
    }

    public void setOperationPass(String operationPass) {
        this.operationPass = operationPass == null ? null : operationPass.trim();
    }

    public Boolean getFlagVerify() {
        return flagVerify;
    }

    public void setFlagVerify(Boolean flagVerify) {
        this.flagVerify = flagVerify;
    }

    public BigDecimal getBalance() {
        return balance;
    }

    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }

    public Boolean getFlagShowdemo() {
        return flagShowdemo;
    }

    public void setFlagShowdemo(Boolean flagShowdemo) {
        this.flagShowdemo = flagShowdemo;
    }

    public Integer getUserType() {
        return userType;
    }

    public void setUserType(Integer userType) {
        this.userType = userType;
    }

    public Integer getPush() {
        return push;
    }

    public void setPush(Integer push) {
        this.push = push;
    }

    public String getNoticeUserType() {
        return noticeUserType;
    }

    public void setNoticeUserType(String noticeUserType) {
        this.noticeUserType = noticeUserType == null ? null : noticeUserType.trim();
    }

    public String getProjectLicense() {
        return projectLicense;
    }

    public void setProjectLicense(String projectLicense) {
        this.projectLicense = projectLicense == null ? null : projectLicense.trim();
    }

    public Integer getIsProjectPartners() {
        return isProjectPartners;
    }

    public void setIsProjectPartners(Integer isProjectPartners) {
        this.isProjectPartners = isProjectPartners;
    }

    public Integer getAccountType() {
        return accountType;
    }

    public void setAccountType(Integer accountType) {
        this.accountType = accountType;
    }

    public Integer getIsCheck() {
        return isCheck;
    }

    public void setIsCheck(Integer isCheck) {
        this.isCheck = isCheck;
    }

    public BigDecimal getCash() {
        return cash;
    }

    public void setCash(BigDecimal cash) {
        this.cash = cash;
    }

    public Integer getPoint() {
        return point;
    }

    public void setPoint(Integer point) {
        this.point = point;
    }

    public Integer getIsExitCompany() {
        return isExitCompany;
    }

    public void setIsExitCompany(Integer isExitCompany) {
        this.isExitCompany = isExitCompany;
    }

    public Date getExitCompanyTime() {
        return exitCompanyTime;
    }

    public void setExitCompanyTime(Date exitCompanyTime) {
        this.exitCompanyTime = exitCompanyTime;
    }

    public BigDecimal getTotalMonitorMoney() {
        return totalMonitorMoney;
    }

    public void setTotalMonitorMoney(BigDecimal totalMonitorMoney) {
        this.totalMonitorMoney = totalMonitorMoney;
    }

    public BigDecimal getTotalPointMoney() {
        return totalPointMoney;
    }

    public void setTotalPointMoney(BigDecimal totalPointMoney) {
        this.totalPointMoney = totalPointMoney;
    }

    public BigDecimal getCostMonitorMoney() {
        return costMonitorMoney;
    }

    public void setCostMonitorMoney(BigDecimal costMonitorMoney) {
        this.costMonitorMoney = costMonitorMoney;
    }

    public BigDecimal getCostPointMoney() {
        return costPointMoney;
    }

    public void setCostPointMoney(BigDecimal costPointMoney) {
        this.costPointMoney = costPointMoney;
    }

    public String getCostName() {
        return costName;
    }

    public void setCostName(String costName) {
        this.costName = costName == null ? null : costName.trim();
    }

    public BigDecimal getRestMoney() {
        return restMoney;
    }

    public void setRestMoney(BigDecimal restMoney) {
        this.restMoney = restMoney;
    }

    public Integer getSmslevel() {
        return smslevel;
    }

    public void setSmslevel(Integer smslevel) {
        this.smslevel = smslevel;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", userName=").append(userName);
        sb.append(", userId=").append(userId);
        sb.append(", face=").append(face);
        sb.append(", pass=").append(pass);
        sb.append(", trueName=").append(trueName);
        sb.append(", mobile=").append(mobile);
        sb.append(", tel=").append(tel);
        sb.append(", email=").append(email);
        sb.append(", enable=").append(enable);
        sb.append(", time=").append(time);
        sb.append(", loginTime=").append(loginTime);
        sb.append(", lastLoginTime=").append(lastLoginTime);
        sb.append(", loginIp=").append(loginIp);
        sb.append(", lastLoginIp=").append(lastLoginIp);
        sb.append(", roleId=").append(roleId);
        sb.append(", contact=").append(contact);
        sb.append(", industry=").append(industry);
        sb.append(", company=").append(company);
        sb.append(", areaId=").append(areaId);
        sb.append(", operationPass=").append(operationPass);
        sb.append(", flagVerify=").append(flagVerify);
        sb.append(", balance=").append(balance);
        sb.append(", flagShowdemo=").append(flagShowdemo);
        sb.append(", userType=").append(userType);
        sb.append(", push=").append(push);
        sb.append(", noticeUserType=").append(noticeUserType);
        sb.append(", projectLicense=").append(projectLicense);
        sb.append(", isProjectPartners=").append(isProjectPartners);
        sb.append(", accountType=").append(accountType);
        sb.append(", isCheck=").append(isCheck);
        sb.append(", cash=").append(cash);
        sb.append(", point=").append(point);
        sb.append(", isExitCompany=").append(isExitCompany);
        sb.append(", exitCompanyTime=").append(exitCompanyTime);
        sb.append(", totalMonitorMoney=").append(totalMonitorMoney);
        sb.append(", totalPointMoney=").append(totalPointMoney);
        sb.append(", costMonitorMoney=").append(costMonitorMoney);
        sb.append(", costPointMoney=").append(costPointMoney);
        sb.append(", costName=").append(costName);
        sb.append(", restMoney=").append(restMoney);
        sb.append(", smslevel=").append(smslevel);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}